package dalModels

import (
	"github.com/google/uuid"
	"gorm.io/gorm"
	"time"
)

type Video struct {
	Id        uuid.UUID `gorm:"primarykey"`
	CreatedAt time.Time
	UpdatedAt time.Time
	DeletedAt gorm.DeletedAt `gorm:"index"`

	RecordAt        time.Time
	Name            string
	Src             string
	PreviewImgSrc   string
	PreviewVideoSrc string
	VideoTags       []VideoTag
	DurationTags    []DurationTag
}
